|
GHOST PARTICLES OFF
This command will deactivate ghosting of a particles object.
GHOST PARTICLES OFF Particle Number
Particle Number
Integer
The particle object number
This command does not return a value.
Ghosted particles will appear transparent when rendered, creating effects such as see-through smoke and fire.
load image "spec.bmp",3
make particles 3, 3, 10, 10.0
position particles 3, -3, 0, 10
ghost particles on 3,5
position camera 0,1,0
point camera 0,1,400
while mouseclick()=0
if upkey()=1 then move camera 0.1
if downkey()=1 then move camera -0.1
if leftkey()=1 then turn camera left 1
if rightkey()=1 then turn camera right 1
color particles 3, rnd(255), rnd(255), rnd(255)
position particles 3, (mousex()-320)/50.0, 0, 10
sync
endwhile
ghost particles off 3
delete particles 3
end
PARTICLES Commands Menu
Index
|